/*
 * Random.cpp
 *
 *  Created on: Oct 10, 2012
 *      Author: romina
 */

#include "Random.h"

Random::Random(int maximo) {
	srand ( time(NULL) );
	this->maximo = maximo;
}

int Random::get_valor(){
	return rand() % this->maximo;
}

Random::~Random() {
}

